<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>音乐播放器</title>
    <link rel="icon" href="img/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="./css/audio_less.css" /></head>

    <div class="select">
      <input type="file" webkitdirectory onchange="selected(event,0)" />
      <input type="file" onchange="selected(event,1)" multiple/>
      <button class="button"><span class="button-content">选择音乐文件夹 </span></button>
      <button class="button1"><span class="button-content">选择多个音乐文件 </span></button>
    </div>
    <div class="container">
      <div class="cd">
        <audio class="music">
          <source src="" />
        </audio>
        <div class="mask"><div class="button iconfont icon-bofang"></div></div>
      </div>

      <div class="main">
        <div class="title">
          <h1>请选择歌曲</h1>
          <h2>未知</h2>
        </div>
        <div class="lyrics"><ul></ul></div>
      </div>

      <div class="control">
        <input
          type="range"
          min="0"
          max="1000"
          step="1"
          class="slider"
          value="0"
          oninput="updateProgress(this.value)"
        />
        <p class="time"><span>00:00</span>/<span>00:00</span></p>
        <i class="iconfont icon-ziyuan" id="random"></i
        ><i class="iconfont icon-shangyishou" id="prevBtn"></i
        ><i class="iconfont icon-bofang" id="playBtn"></i
        ><i class="iconfont icon-xiayishou" id="nextBtn"></i>
        <i class="iconfont icon-danquxunhuan" id="single"></i>
      </div>
      <div class="musicList">
        <div class="button iconfont icon-liebiao"></div>
        <div class="loader">
  <div class="list">
          <ul></ul>
        </div>
      </div>
    </div>
    
  </body>
  <script src="./js/jsmediatags.min.js"></script>
  <script src="./js/audio.js"></script>
<!-- <script src="http://cdn.jsdelivr.net/npm/eruda"></script>
    <script>
        eruda.init();
    </script> -->
</html>
